package cn.zhangxin.pethome.system.logininfo.mapper;

import cn.zhangxin.pethome.system.logininfo.domain.Logininfo;
import cn.zhangxin.pethome.base.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zx
 * @since 2023-01-12
 */
@Repository
public interface LogininfoMapper extends BaseMapper<Logininfo> {
    //查询t_logininfo表中是否存在用户名 电话 邮箱为username的用户
    Logininfo findByUsername(String username,Integer type);

}
